package com.etime.shuhuiyuan.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * 实体类demo
 * @TableName：表示与哪个数据表向对应；
 * @TableId(value = "demoid",type = IdType.AUTO)
 * value:主键的字段名；type：主键的生成方式
 */
@TableName("demo")
public class Demo {
    @TableId(value = "demoid",type = IdType.AUTO)
    private Integer demoid;
    private String demoname;
    private Integer demostate;

    public Integer getDemoid() {
        return demoid;
    }

    public void setDemoid(Integer demoid) {
        this.demoid = demoid;
    }

    public String getDemoname() {
        return demoname;
    }

    public void setDemoname(String demoname) {
        this.demoname = demoname;
    }

    public Integer getDemostate() {
        return demostate;
    }

    public void setDemostate(Integer demostate) {
        this.demostate = demostate;
    }
}
